﻿<h1>Connexion à l'application<h1>

<% form_tag login_url do %>
  <p>
    <label for="login">Login : </label>
    <%= text_field_tag "login", params[:login] %>
  </p>

  <p>
    <label for="password">Mot de passe : </label>
    <%= password_field_tag "password", params[:password] %>
  </p>
  <p><%= link_to "forgotten password?", new_password_reset_path %></p>
  <p>
    <%= label_tag :remember_me %>
    <%= check_box_tag :remember_me, 1, params[:remember_me] %>
  </p>  
  <p>
    <%= submit_tag 'Connexion' %>
  </p>
<% end %>